Optimal. Leaf size=25 \[ -\frac{\left (a \left (b x^n\right )^p\right )^q}{x^2 (2-n p q)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0454394, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {6679, 30} \[ -\frac{\left (a \left (b x^n\right )^p\right )^q}{x^2 (2-n p q)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6679
Rule 30
Rubi steps
\begin{align*} \int \frac{\left (a \left (b x^n\right )^p\right )^q}{x^3} \, dx &=\left (x^{-n p q} \left (a \left (b x^n\right )^p\right )^q\right ) \int x^{-3+n p q} \, dx\\ &=-\frac{\left (a \left (b x^n\right )^p\right )^q}{(2-n p q) x^2}\\ \end{align*}
Mathematica [A] time = 0.0038133, size = 23, normalized size = 0.92 \[ \frac{\left (a \left (b x^n\right )^p\right )^q}{x^2 (n p q-2)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 24, normalized size = 1. \begin{align*}{\frac{ \left ( a \left ( b{x}^{n} \right ) ^{p} \right ) ^{q}}{{x}^{2} \left ( npq-2 \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.3722, size = 36, normalized size = 1.44 \begin{align*} \frac{a^{q}{\left (b^{p}\right )}^{q}{\left ({\left (x^{n}\right )}^{p}\right )}^{q}}{{\left (n p q - 2\right )} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.68658, size = 81, normalized size = 3.24 \begin{align*} \frac{e^{\left (n p q \log \left (x\right ) + p q \log \left (b\right ) + q \log \left (a\right )\right )}}{{\left (n p q - 2\right )} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a \left (b x^{n}\right )^{p}\right )^{q}}{x^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (\left (b x^{n}\right )^{p} a\right )^{q}}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]